package com.elitel.frame.main.entity.constant;

public interface DictionaryConstant{
    // ServiceType (1: SingleTableService , 2: MasterSlaveTableService)
    Integer ServiceType_SingleTableService = 1;
    String ServiceType_SingleTableService_String = "1";

    Integer ServiceType_MasterSlaveTableService = 2;
    String ServiceType_MasterSlaveTableService_String = "2";


    // config_table type (1: origin single table , 2: view)
    Integer TableType_OriginSingleTable = 1;
    Integer TableType_View = 2;

    // FieldEnum (0: custom json 1: SQL )
    Integer FieldEnumType_JSON = 0;
    Integer FieldEnumType_SQL = 1;

    // base_fieldaddons
    Integer FieldEnum = 1;
    Integer ModifyName = 1;

    // Is Pagination
    Short Pagination = 1;

    // no no Here is "" is master table meaning , !"" expression salve Table meaning
    String FindMasterTable = "";

    // base_querysql or base_showfield
    String SingleServiceInBaseQuerySql = "1";
    String MasterSlaveTableServiceInBaseQuerySql = "2";
    // only base_querysal
    String ResourceTreeServiceInBaseQuerySql = "3";

    // database type
    String DatabaseType_MYSQL = "MYSQL";
    String DatabaseType_ORACLE= "ORACLE";
    String DatabaseType_KINGBASEV8= "KingbaseV8";
    String DatabaseType_SQLSERVER= "SQLSERVER";
    String DatabaseType_MONGODB= "MongoDB";
    String DatabaseType_POSTGRESQL= "POSTGRESQL";
    String DatabaseType_DM8= "DM8";
    String YES= "Y";
    String NO= "N";


}
